body {
    background-position-y: 53px;
}

.wrap {
    /* margin-left: -458px; */
    width: 916px;
    height: 1500px;
    margin: 0 auto;
}

header {
    margin: auto 0;
    width: 100%;
    height: 53px;
    box-shadow: 0px 7px 12px rgba(0, 0, 0, 0.08);
}

header>a {
    float: left;
    margin-left: 284px;
    margin-top: 10px;
}

.search {
    float: right;
    border-radius: 13.5px;
    border: 1px solid;
    height: 28px;
    margin-right: 120px;
    margin-top: 15px;
}

.search>input {
    border: 0;
    height: 100%;
    line-height: 28px;
    border-right: transparent;
    margin-left: 17px;
    width: 207px;
    background-color: transparent;
    font-size: 17px;
    display: inline-block;
    vertical-align: middle;
}

.search>button {
    border: 0;
    background-color: transparent;
    margin-right: 12px;
}

.search>button>img {
    /* margin-top: 5px; */
    /* 与表单，文字垂直居中 */
    display: inline-block;
    vertical-align: middle;
}

.lobotu {
    width: 100%;
    margin: auto;
    height: 186px;
    position: relative;
}

.lobotu>ul>li {
    width: 15px;
    height: 15px;
    background-color: #4d4947;
    list-style: none;
    float: left;
    border-radius: 50px;
    margin: 0 20px;
}

.lobotu>ol>li {
    float: left;
    margin: 0 119.6px;
}

.lobotu>ol {
    width: 5000px;
    height: 100%;
    list-style: none;
    position: relative;
}

.lobotu .current {
    background-color: #d9d2cf;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.23) inset;
}

.lobotu>ul {
    position: absolute;
    width: 165px;
    /* margin: 175px 374px 0; */
    height: 15px;
    top: 175px;
    left: 50%;
    transform: translate(-50%);
}

nav {
    margin-top: 38px;
    font-size: 14px;
    height: 30px;
    border-bottom: 1px solid #e1e1e1;
    /*不常用 position: sticky;
    top: 0px; */
}

nav>a {
    margin-left: 10px;
    color: #292929;
}

nav>a:hover {
    color: #eba155;
}

.mainpage {
    margin-top: 30px;
    height: 808px;
    margin-bottom: 80px;
}

.info {
    height: 55px;
    display: none;
    position: relative;
}


/* 使用::after来写下边界 */

.info::after {
    content: "";
    height: 1px;
    width: 108px;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 0;
    background-color: #d6d6d6;
}

.info>b {
    width: 32px;
    margin: auto;
    margin-bottom: 10px;
    display: block;
}

.star {
    width: 115px;
    height: 28px;
    margin: auto;
    margin-top: 21px;
    display: none;
}

.star>img {
    margin: 0 5px;
}

div[class$="book"] {
    height: 375px;
    width: 200px;
    float: left;
    transition: all .2s;
}

div[class$="book"]:hover .info,
div[class$="book"]:hover .star {
    display: block;
}

div[class$="book"]:hover {
    transform: scale(1.08);
    cursor: pointer;
}

.mainpage b {
    font-weight: 600;
}

.book {
    margin-right: 38px;
}

.bottom {
    margin-top: 48px;
}

footer {
    margin: auto;
    height: 54px;
    text-align: center;
}

footer a {
    display: inline-block;
    text-decoration: none;
    font-size: 15px;
    line-height: 16px;
    height: 16px;
    width: 16px;
    color: #292929;
    text-align: center;
    transition: all .2s;
    margin: 0 10px;
}

footer a:hover {
    transform: scale(1.06);
}

footer>div>a[class="current"] {
    background-color: #292929;
    color: white;
    border: 1px;
    border-radius: 9px;
}

footer span {
    width: 40.11px;
    display: block;
    margin: auto;
}